package com.axx.android.moments;

import android.support.annotation.LayoutRes;
import android.support.annotation.Nullable;

import com.amap.api.services.core.PoiItem;
import com.axx.android.R;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

/**
 * Created by sunjie on 2017/8/16.
 */

public class AddressAdapter extends BaseQuickAdapter<String,BaseViewHolder> {


    public AddressAdapter(@LayoutRes int layoutResId, @Nullable List<String> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        helper.setText(R.id.tv_text,item);
    }
}
